package com.huaxiafinance.management.dto.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

public class MemberGrowthDto {
    @NotNull(message = "id不能为空")
	private Integer id;
	@Max(value=3,message="最大为3")
	private Double baseValue;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getBaseValue() {
		return baseValue;
	}

	public void setBaseValue(Double baseValue) {
		this.baseValue = baseValue;
	}

	@Override
	public String toString() {
		return "MemberGrowthDto{" +
				"id=" + id +
				", baseValue=" + baseValue +
				'}';
	}
}
